package com.lx.oms.controller.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.lx.oms.common.dao.BaseMapper;
import com.lx.oms.common.entity.Query;
import com.lx.oms.controller.entity.SysAreaEntity;

/**
 * 行政区域
 *
 * @author houzhong
 * 
 */
@MapperScan
public interface SysAreaMapper extends BaseMapper<SysAreaEntity> {

	List<SysAreaEntity> listAreaByParentCode(Query query);
	
	int countAreaChildren(String areaId);
	
}
